<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>游戏信息列表</h2>
        <ol class="breadcrumb">
            <li>
                <a href="#">首页</a>
            </li>
            <li>
                <a href="#{:U('GameInfo/')}">游戏信息列表</a>
            </li>
            <li class="active">
                <strong>{$isEdit?'修改':'添加'}游戏信息列表</strong>
            </li>
        </ol>
    </div>
</div>

<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div>
                        <button class="btn btn-link" type="button" onclick="history.back()">
                            <span class="fa fa-angle-left"></span>
                            返回
                        </button>
                    </div>
                    <form method="post" class="form-horizontal" id="form1">
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏名称</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.game_name}" placeholder="游戏名称" name="game_name" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏简介</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.game_brief}" placeholder="游戏简介" name="game_brief" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">公司名称</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.providename}" placeholder="公司名称" name="providename" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">provideid</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.provideid}" placeholder="provideid" name="provideid" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">下载次数</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.download_times}" placeholder="下载次数" name="download_times" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">大小</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.size}" placeholder="大小" name="size" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">种类</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.sort}" placeholder="种类" name="sort" type="number" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">折扣</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.discount}" placeholder="折扣" name="discount" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">图标</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.imageico}" placeholder="图标" name="imageico" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏详情</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.game_details}" placeholder="游戏详情" name="game_details" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">介绍图片</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.image_list}" placeholder="介绍图片" name="image_list" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">平台</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.plateform}" placeholder="平台" name="plateform" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">平台版本</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.plateform_version}" placeholder="平台版本" name="plateform_version" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">语言</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.language}" placeholder="语言" name="language" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏版本</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.game_version}" placeholder="游戏版本" name="game_version" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">审核状态</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.status}" placeholder="审核状态" name="status" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">下载路径</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.download_url}" placeholder="下载路径" name="download_url" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">公司官网</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.official_website}" placeholder="公司官网" name="official_website" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏主题</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.game_theme}" placeholder="游戏主题" name="game_theme" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">代理授权书</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.authorization_letter}" placeholder="代理授权书" name="authorization_letter" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">软件注册权书</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.soft_regist}" placeholder="软件注册权书" name="soft_regist" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">合作模式</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.coopepate_mode}" placeholder="合作模式" name="coopepate_mode" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">游戏名拼音</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.gamename_pinyin}" placeholder="游戏名拼音" name="gamename_pinyin" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">唯一标志</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.unique_flag}" placeholder="唯一标志" name="unique_flag" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <label class="col-sm-2 control-label">app_key</label>
                            <div class="col-sm-10">
                                                                <input value="{$m.app_key}" placeholder="app_key" name="app_key" type="text" required class="form-control">
                                                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                                                <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <!--<button class="btn btn-white" data-op="reset" type="button">重 置</button>-->
                                <!--&nbsp;-->
                                <!--&nbsp;-->
                                <button data-style="expand-left" class="btn btn-primary ladda-button" type="button"
                                        data-op="submit">确 定
                                </button>
                            </div>
                        </div>
                        <div>
                            <button class="btn btn-link" data-op="back" type="button">
                                <span class="fa fa-angle-left"></span>
                                返回
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    YForm.create('#form1', "{:U('saveModel')}",'{$m.id}');
</script>